/*
 * comlan
 */

package com.promfy.timetable.domain;

public class OneClass {
	public static final int CLASS_PROP_TAKE_EVERY_WEEK = 0;
	public static final int CLASS_PROP_TAKE_ODD_WEEK = 1;
	public static final int CLASS_PROP_TAKE_EVEN_WEEK = 2;
	
	private int id;
	private int week; //which week
	private int course; // which course in this day
	private String className; // class name
	private String location; // calss location
	private String teacher; // who is your teacher
	private int prop = CLASS_PROP_TAKE_EVERY_WEEK; //class you need to take it every week?

	public OneClass(int week, int course, String className, String location, String teacher, int prop) {
		super();
		this.week = week;
		this.course = course;
		this.className = className;
		this.location = location;
		this.teacher = teacher;
		this.prop = prop;
	}
	
	public OneClass(int id, int week, int course, String className, String location, String teacher, int prop) {
		super();
		this.id = id;
		this.week = week;
		this.course = course;
		this.className = className;
		this.location = location;
		this.teacher = teacher;
		this.prop = prop;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getWeek() {
		return week;
	}
	public void setWeek(int week) {
		this.week = week;
	}
	public int getCourse() {
		return course;
	}
	public void setCourse(int course) {
		this.course = course;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getTeacher() {
		return teacher;
	}
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	public int getProp() {
		return prop;
	}
	public void setProp(int prop) {
		this.prop = prop;
	}

	
	
}
